import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import Notice from '@/components/notice/index'
import Unlock from '@/components/unlock/index'
import Balance from '@/components/balance/index'
import Profit from '@/components/profit/index'
import Login from '@/components/login/index'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/login'
    },
    {
      path: '/unlock',
      name: 'Unlock',
      component: Unlock
    },
    {
      path: '/balance',
      name: 'Balance',
      component: Balance
    },
    {
      path: '/profit',
      name: 'Profit',
      component: Profit
    },
    {
      path: '/notice',
      name: 'Notice',
      component: Notice
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    }
  ]
})
